import type { ResultCategoryType } from "@/types/category"
import { http } from "@/utils/request"

//获取分类列表-小程序
export const getCategory = () => {
  return http<ResultCategoryType[]>({
    url: '/category/top',
    method: 'GET'
  })
}

